<?php
class PermissionsMapper implements IDataMapper {
	
	public function mapRow($row) {
		$permissionsDto = new PermissionsDto();
		$permissionsDto->setProjectId($row['projectID']);
		$permissionsDto->setUserId($row['userID']);
		$permissionsDto->setPermission($row['permission']);
		return $permissionsDto;
	}
}

?>
